package com.laowang.project.system.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.laowang.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 喜报对象 my_cyh_glad_tiding
 *
 * @author laowang
 * @date 2024-03-28
 */
@NoArgsConstructor
@Data
public class MyCyhGladTiding implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "${comment}", required = false)
    private Integer id;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    @ApiModelProperty(value = "用户id", required = false)
    private Integer userId;

    /**
     * $column.columnComment
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "用户id", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "用户id", required = false)
    private Date created;

    /**
     * $column.columnComment
     */
    @Excel(name = "信息")
    @ApiModelProperty(value = "信息", required = false)
    private String info;

    /**
     * 0未读,1已读
     */
    @Excel(name = "0未读,1已读")
    @ApiModelProperty(value = "0未读,1已读", required = false)
    private Integer isRead;


}
